#include "qserverdriverlistern.h"

QServerDriverListern::QServerDriverListern(QObject *parent) :
    QObject(parent)
{
}

void QServerDriverListern::add_driver(const QDriverInfo &info)
{
    m_drivers.append(info);
}

void QServerDriverListern::add_data(const QString &message)
{
    emit add_data_signals(message);
}

void QServerDriverListern::update_driver()
{
    emit update_driver_signals();
}

QList<QDriverInfo> QServerDriverListern::get_drivers()
{
    return m_drivers;
}
